<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Network <i>ieee802154a</i></h2>
<b>Package:</b> org.mixim.examples.ieee802154a<br/><b>File: <a href="examples-ieee802154a-ieee802154a.ned.html">examples/ieee802154a/ieee802154a.ned</a></b><br/>
<p>This example illustrates the use of the IEEE 802.15.4A UWB-IR
simulation model implemented in MiXiM.
The omnetpp.ini files comprises two scenarios. Both scenarios
involve only two hosts.</p>
<p>The first scenario, named BERDistance, configures one host to
sends (\$nbPackets) packets to the other. The distance (\$distance)
between the two nodes is changed at each run. This is performed
for two channel models (Ghassemzadeh-LOS and NLOS) so that the
difference between a Line of Sight and a Non Line of Sight
environment can be seen. </p>
<p>The second scenario is simpler. It only sends one packet at each
time, and iterates over five channel models: Ghassemzadeh-LOS, 
Ghassemzadeh-NLOS, CM1, CM2 and CM5.
It allows to see the simulator representation of the maximum
pulse amplitude over time, as modified by the various channel
models.</p>
<p>To run the scenarios, compile mixim, open a terminal and go to
examples/ieee80154a. There, type:
./runBERDistance.sh 
to execute all runs of the Bit Error Rate over Distance scenario.
The "run" script expects to find opp_run in the path. Thus, make sure 
to have \$OMNET_PATH/bin in your path. </p>
<p>You can also try:
./runChannelPlots.sh
to execute all runs of the channelPlots scenario.</p>
<p>The results can be analyzed from within Omnet++. In the
examples/<a href="org.mixim.examples.ieee802154a.ieee802154a.html">ieee802154a</a> directory, open the files BERDistance.anf
or channelPlots.anf (depending on the scenario that you ran before).
At the bottom of the window, switch from the Inputs tab to the Datasets
tab. In the BERDistance.anf file, you will find a "scatter chart BER_Distance"
item. Double-click on it to generate the graph.</p>
<p>In the channelPlots.anf file, there are several graphs. Opening
"line chart Ghassemzadeh LOS" will show the packet as modified by the 
Ghassemzadeh LOS channel model. Compare it with "line chart CM2" to see
the impact of the Power Delay Profile. By default, the view does not allow
to see the pulse shapes, because of the ultra short duration (2 ns per pulse).
Zoom repeatedly until you see a triangular shape, by holding down the "Ctrl"
touch and drawing a zoom box with the mouse around the area to enlarge.</p>
<p>For more information, please refer to:
* the Omnet++ documentation at www.omnetpp.org/documentation and the user guide.
* the MiXiM documentation
* UWB-IR NED modules documentation and source code.</p>
<p>Questions should be send to the Omnet++ mailing-list: omnetpp@googlegroups.com.</p>
<p>acknowledgment 
<hr/>
this work was supported (in part) by the National Competence
Center in Research on Mobile Information and Communication Systems
NCCR-MICS, a center supported by the Swiss National Science
Foundation under grant number 5005-67322.</p>
<img src="org.mixim.examples.ieee802154a.ieee802154a-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="org.mixim.base.modules.BaseWorldUtility.html" title="BaseWorldUtility" alt="BaseWorldUtility" coords="233,23,275,82">
<area shape="rect" href="org.mixim.base.connectionManager.ConnectionManager.html" title="ConnectionManager" alt="ConnectionManager" coords="403,21,501,84">
<area shape="rect" href="org.mixim.modules.node.Host802154A.html" title="Host802154A" alt="Host802154A" coords="-2,71,106,134">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.examples.ieee802154a.ieee802154a-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="org.mixim.examples.ieee802154a.ieee802154a.html" title="Network ieee802154a" alt="" coords="172,6,265,34">
<area shape="rect" id="node2" href="org.mixim.base.connectionManager.ConnectionManager.html" title="Simple Module ConnectionManager" alt="" coords="5,83,144,111">
<area shape="rect" id="node4" href="org.mixim.modules.node.Host802154A.html" title="Compound Module Host802154A" alt="" coords="168,83,269,111">
<area shape="rect" id="node6" href="org.mixim.base.modules.BaseWorldUtility.html" title="Simple Module BaseWorldUtility" alt="" coords="293,83,413,111">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.examples.ieee802154a.ieee802154a-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="org.mixim.examples.ieee802154a.ieee802154a.html" title="Network ieee802154a" alt="" coords="5,6,99,34">
</map>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">playgroundSizeX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>x size of the area the nodes are in (in meters)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">playgroundSizeY</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>y size of the area the nodes are in (in meters)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">playgroundSizeZ</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>z size of the area the nodes are in (in meters)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">numHosts</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>total number of hosts in the network</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">isNetwork</td>
   <td width="100"><i></i></td>
   <td></td>
</tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>bgb=$playgroundSizeX,$playgroundSizeY,white,,;bgp=10,50</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Unassigned submodule parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr>
   <td><a href="org.mixim.base.modules.BaseWorldUtility.html">world</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the base framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.modules.BaseWorldUtility.html">world</a>.useTorus</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>use the playground as torus?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.modules.BaseWorldUtility.html">world</a>.use2D</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>use a 2-dimensional world?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.sendDirect</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>send directly to the node or create separate gates for every connection</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.pMax</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>maximum sending power used for this network [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.sat</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum signal attenuation threshold [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.alpha</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum path loss coefficient</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.carrierFrequency</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>minimum carrier frequency of the channel [Hz]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.base.connectionManager.ConnectionManager.html">channelControl</a>.drawMaxIntfDist</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>should the maximum interference distance be displayed for each node?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.base.modules.BaseUtility.html">utility</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the base framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>write per-activity and per-device statistics to omnetpp.sca
(if false, only total energy and lifetime are written)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.detail</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>subscribe to battery status and record time series
data in omnetpp.vec (resolution depends on battery's 
publishDelta)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.timeSeries</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.nominal</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.capacity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.voltage</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal voltage</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.resolution</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>capacity is updated at least every resolution time</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishDelta</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>if &gt; 0, capacity is published to the BB each publishTime 
interval</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of modules that will draw energy from the 
battery</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.numDevices</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.base.modules.BaseMobility.html">mobility</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.base.modules.BaseMobility.html">mobility</a>.x</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>x coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.base.modules.BaseMobility.html">mobility</a>.y</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>y coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.base.modules.BaseMobility.html">mobility</a>.z</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>z coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable/disable tracking of statistics (eg. cOutvectors)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.headerLength</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>defines the length of the phy header (/preamble)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.usePropagationDelay</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>Should transmission delay be simulated?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.thermalNoise</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>the strength of the thermal noise [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.useThermalNoise</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>should thermal noise be considered?</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.analogueModels</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the analogue models to use and their parameters</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.decider</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the decider to use and its parameters</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.sensitivity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The sensitivity of the physical layer [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.maxTXPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The maximum transimission power of the physical layer [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.timeRXToTX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
<p>switchTimes [s]:</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.timeRXToSleep</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.timeTXToRX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.timeTXToSleep</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.timeSleepToRX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.timeSleepToTX</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.radioMinAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.0</td>
   <td>
<p>radios gain factor (attenuation) while receiving</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.radioMaxAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0.0</td>
   <td>
<p>radios gain factor (attenuation) while not receiving</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.nbRadioChannels</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1</td>
   <td>
<p>Number of available radio channels. Defaults to single channel radio.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.phy.PhyLayerUWBIR.html">phy</a>.initialRadioChannel</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>Initial radio channel.</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.headerLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>length of the MAC packet header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.stats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.trace</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.RSDecoder</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.packetsAlwaysValid</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.PRF</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">4</td>
   <td>
<p>Pulse repetition frequency, either 4 or 16 MHz currently</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.minBE</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">3</td>
   <td>
<p>min backoff exponent</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.nic.Nic802154A.html">nic</a>.<a href="org.mixim.modules.mac.AlohaMacLayer.html">mac</a>.maxBE</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">8</td>
   <td>
<p>max backoff exponent</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.DummyRoute.html">net</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.DummyRoute.html">net</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.DummyRoute.html">net</a>.stats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>stats switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.DummyRoute.html">net</a>.headerLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0</td>
   <td>
<p>length of the network packet header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.DummyRoute.html">net</a>.trace</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.DummyRoute.html">net</a>.networkID</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>network ID, allows coexistence tests</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.ArpHost.html">arp</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the core framework</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.ArpHost.html">arp</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable debugging for this module</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.netw.ArpHost.html">arp</a>.offset</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>Adds an offset to node addresses</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.stats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>stats switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.trace</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>trace switch</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.trafficParam</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>mean time between packets (poisson arrival rate)</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.nodeAddr</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>node address</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.dstAddr</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>packet destination node address</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.flood</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>send packets continuously</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.payloadSize</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of bytes per packet</p>
   </td>
</tr>
<tr>
   <td><a href="org.mixim.modules.node.Host802154A.html">node</a>.<a href="org.mixim.modules.application.TestApplication.html">app</a>.nbPackets</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of packets to generate</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
//This example illustrates the use of the IEEE 802.15.4A UWB-IR
//simulation model implemented in MiXiM.
//The omnetpp.ini files comprises two scenarios. Both scenarios
//involve only two hosts.
//
//The first scenario, named BERDistance, configures one host to
//sends ($nbPackets) packets to the other. The distance ($distance)
//between the two nodes is changed at each run. This is performed
//for two channel models (Ghassemzadeh-LOS and NLOS) so that the
//difference between a Line of Sight and a Non Line of Sight
//environment can be seen. 
//
//The second scenario is simpler. It only sends one packet at each
//time, and iterates over five channel models: Ghassemzadeh-LOS, 
//Ghassemzadeh-NLOS, CM1, CM2 and CM5.
//It allows to see the simulator representation of the maximum
//pulse amplitude over time, as modified by the various channel
//models.
//
//To run the scenarios, compile mixim, open a terminal and go to
//examples/ieee80154a. There, type:
//./runBERDistance.sh 
//to execute all runs of the Bit Error Rate over Distance scenario.
//The &quot;run&quot; script expects to find opp_run in the path. Thus, make sure 
//to have $OMNET_PATH/bin in your path. 
//
//You can also try:
//./runChannelPlots.sh
//to execute all runs of the channelPlots scenario.
//
//The results can be analyzed from within Omnet++. In the
//examples/ieee802154a directory, open the files BERDistance.anf
//or channelPlots.anf (depending on the scenario that you ran before).
//At the bottom of the window, switch from the Inputs tab to the Datasets
//tab. In the BERDistance.anf file, you will find a &quot;scatter chart BER_Distance&quot;
//item. Double-click on it to generate the graph.
//
//In the channelPlots.anf file, there are several graphs. Opening
//&quot;line chart Ghassemzadeh LOS&quot; will show the packet as modified by the 
//Ghassemzadeh LOS channel model. Compare it with &quot;line chart CM2&quot; to see
//the impact of the Power Delay Profile. By default, the view does not allow
//to see the pulse shapes, because of the ultra short duration (2 ns per pulse).
//Zoom repeatedly until you see a triangular shape, by holding down the &quot;Ctrl&quot;
//touch and drawing a zoom box with the mouse around the area to enlarge.
//
//For more information, please refer to:
//* the Omnet++ documentation at www.omnetpp.org/documentation and the user guide.
//* the MiXiM documentation
//* UWB-IR NED modules documentation and source code.
//
//Questions should be send to the Omnet++ mailing-list: omnetpp@googlegroups.com.
//
//acknowledgment 
//--------------
//this work was supported (in part) by the National Competence
//Center in Research on Mobile Information and Communication Systems
//NCCR-MICS, a center supported by the Swiss National Science
//Foundation under grant number 5005-67322.
// 
</span><span style="color: #800000; font-weight: bold; ">network</span><span style="color: #000000; "> </span><span style="color: #000000; ">ieee802154a</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">playgroundSizeX</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">m</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// x size of the area the nodes are in (in meters)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">playgroundSizeY</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">m</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// y size of the area the nodes are in (in meters)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">playgroundSizeZ</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">m</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// z size of the area the nodes are in (in meters)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">numHosts</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// total number of hosts in the network
</span><span style="color: #000000; ">
        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;bgb=$playgroundSizeX,$playgroundSizeY,white,,;bgp=10,50&quot;</span><span style="color: #000000; ">);
    </span><span style="color: #800000; font-weight: bold; ">submodules</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">world</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BaseWorldUtility</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">playgroundSizeX</span><span style="color: #000000; "> = </span><span style="color: #000000; ">playgroundSizeX</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">playgroundSizeY</span><span style="color: #000000; "> = </span><span style="color: #000000; ">playgroundSizeY</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">playgroundSizeZ</span><span style="color: #000000; "> = </span><span style="color: #000000; ">playgroundSizeZ</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=250,0;i=misc/globe&quot;</span><span style="color: #000000; ">);

        }

        </span><span style="color: #000000; ">channelControl</span><span style="color: #000000; ">: </span><span style="color: #000000; ">ConnectionManager</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=450,0;b=42,42,rect,red,,;i=abstract/multicast&quot;</span><span style="color: #000000; ">);

        }
        </span><span style="color: #000000; ">node</span><span style="color: #000000; ">[</span><span style="color: #000000; ">numHosts</span><span style="color: #000000; ">]: </span><span style="color: #000000; ">Host802154A</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">numHosts</span><span style="color: #000000; "> = </span><span style="color: #000000; ">numHosts</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=50,50;b=42,42,rect,red,,;i=device/wifilaptop&quot;</span><span style="color: #000000; ">);

        }
    </span><span style="color: #800000; font-weight: bold; ">connections</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">allowunconnected</span><span style="color: #000000; ">:
                         </span><span style="color: #808080; font-style: italic; ">// all connections and gates are to be generated dynamically
</span><span style="color: #000000; ">
}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
